package com.example.bean4;

import org.springframework.beans.factory.annotation.Autowired;

public class BaseService<T> {

    @Autowired
    private BaseDao<T> baseDao;

    public void add(T entity) {
        baseDao.add(entity);
    }
}


